
import request from '/@/utils/request'

export function list(params: any) {
  return request({
    url: 'admin/sys/menu/list',
    method: 'get',
    params
  })
}
export function add(data) {
  return request({
    url: 'admin/sys/menu/add',
    method: 'post',
    data
  })
}
export function edit(data) {
  return request({
    url: 'admin/sys/menu/update',
    method: 'post',
    data
  })
}

export function del(data) {
  return request({
    url: 'admin/sys/menu/elete',
    method: 'post',
    data: data
  })
}

